package mr.ali.videoapp.portal.service;

import com.github.pagehelper.PageInfo;
import mr.ali.videoapp.portal.model.CollectionPlay;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr-ali
 * @since 2025-07-18
 */
public interface ICollectionPlayService extends IService<CollectionPlay> {


    List<CollectionPlay> videoTagsById(Integer id);

    PageInfo<CollectionPlay> findAllByOrderLastPlay(Integer pageNum, Integer pageSize , Integer tags);

    PageInfo<CollectionPlay> searchCollections(String name, Integer pageNum, Integer pageSize);
}
